﻿using System;
using System.Collections.Generic;
using System.Text;
using NFinal.Action;
using System.Threading.Tasks;

namespace NFinal
{
    public class EmptyResult : ActionResult
    {
        public EmptyResult()
        {
           
        }
        public override void ExecuteResult<TContext, TRequest>(AbstractAction<TContext, TRequest> context)
        {
            context.SetResponseHeader(Constant.HeaderContentType, Constant.ResponseContentType_Text_html);
            context.response.stream=System.IO.Stream.Null;
        }
    }
}
